﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace In.Api.Dto.HisWs
{
    /// <summary>
    /// 查询病人的预约信息
    /// </summary>
    public class Response4GetBookInfo
    {
        /// <summary>
        /// 处理结果代码，0-成功，其他值为失败
        /// </summary>
        public string ResultCode { get; set; }
        /// <summary>
        /// 处理结果描述
        /// 成功为空，失败时返回描述
        /// </summary>
        public string ResultDesc { get; set; }

        public List<Response4GetBookInfoSubBookInfo> BookInfoList { get; set; }
    }
    
    public class Response4GetBookInfoSubBookInfo
    {
        /// <summary>
        /// 预约流水号
        /// </summary>
        public string FlowNo { get; set; }

        /// <summary>
        /// 病人唯一ID
        /// </summary>
        public string HosPatId { get; set; }

        /// <summary>
        /// 门诊号
        /// </summary>
        public string ClinNo { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdCard { get; set; }

        /// <summary>
        /// 诊疗卡号
        /// </summary>
        public string CardNo { get; set; }

        /// <summary>
        /// 预约时留的电话号码
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 排班序号
        /// </summary>
        public string ScheduleId { get; set; }

        /// <summary>
        /// 科室唯一代码
        /// </summary>
        public string DeptId { get; set; }

        /// <summary>
        /// 科室名
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 医生唯一代码
        /// </summary>
        public string DoctorId { get; set; }

        /// <summary>
        /// 医生名
        /// </summary>
        public string DoctorName { get; set; }

        /// <summary>
        /// 科目唯一代码
        /// </summary>
        public string SubjectId { get; set; }

        /// <summary>
        /// 科目名称
        /// </summary>
        public string SubjectName { get; set; }

        /// <summary>
        /// 班次开始时间
        /// </summary>
        public string StartTime { get; set; }

        /// <summary>
        /// 班次结束时间
        /// </summary>
        public string EndTime { get; set; }

        /// <summary>
        /// 挂号类型:普通/专科/专家，默认填写普通
        /// </summary>
        public string RegType { get; set; }

        /// <summary>
        /// 预约时间
        /// </summary>
        public string BookTime { get; set; }

        /// <summary>
        /// 预约时段开始时间点
        /// </summary>
        public string BookStartTime { get; set; }

        /// <summary>
        /// 预约时段结束时间点
        /// </summary>
        public string BookEndTime { get; set; }

        /// <summary>
        /// 预约号
        /// </summary>
        public string BookNo { get; set; }

        /// <summary>
        /// 状态:未生效/已报到/作废/过期
        /// </summary>
        public string State { get; set; }

        /// <summary>
        /// 挂号流水号:报到后填写
        /// </summary>
        public string RegFlowNo { get; set; }

        /// <summary>
        /// 挂号排队号:报到后填写
        /// </summary>
        public string WaitNo { get; set; }

        /// <summary>
        /// 等待人数
        /// </summary>
        public string WaitCount { get; set; }

        /// <summary>
        /// 挂号时间
        /// </summary>
        public string RegTime { get; set; }

        /// <summary>
        /// 就诊地址
        /// </summary>
        public string Address { get; set; }
    }
}
